package ooday03;

public abstract class DaNei {
    String name;
    int age;
    double salay;
     DaNei(String name,int age,double salay){
         this.name=name;
         this.age=age;
         this.salay=salay;
     }

     abstract void work();

}

class director extends DaNei implements Work1,Work2{
    director(String name,int age,double salay){
        super(name,age,salay);
    }
    void clockin(){

    }
    void punchin(){

    }
    void work(){

    }

    public void problem1() {
        System.out.println();
    }
    public void problem2(){
        System.out.println();
    }

    public void problem3() {
        System.out.println();
    }
}
class lecturer extends DaNei implements Work1,Work2{
    lecturer(String name,int age,double salay){
        super(name,age,salay);
    }
    void clockin(){

    }
    void punchin(){

    }
    void work(){

    }

    public void problem1() {
        System.out.println();
    }
    public void problem2(){
        System.out.println();
    }

    public void problem3() {
        System.out.println();
    }
}
class manager extends DaNei implements Work2{
    manager(String name,int age,double salay){
        super(name,age,salay);
    }
    void clockin(){

    }
    void punchin(){

    }
    void work(){

    }

    public void problem3() {
        System.out.println();
    }
}
class teacher extends DaNei{
    teacher(String name,int age,double salay){
        super(name,age,salay);
    }
    void clockin(){

    }
    void punchin(){

    }
    void work(){

    }
}